<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Robocup-denayer-project-a: read-only/trunk/source/thread.cpp Bestand Referentie</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gegenereerd door Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Zoeken');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Hoofd&nbsp;Pagina</span></a></li>
      <li><a href="annotated.html"><span>Klassen</span></a></li>
      <li class="current"><a href="files.html"><span>Bestanden</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
          <span class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Zoeken" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </span><span class="right"></span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;Lijst</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functies</a>  </div>
  <div class="headertitle">
<h1>read-only/trunk/source/thread.cpp Bestand Referentie</h1>  </div>
</div>
<div class="contents">
<code>#include &lt;pthread.h&gt;</code><br/>
<code>#include &lt;iostream&gt;</code><br/>
<code>#include &quot;<a class="el" href="thread_8h_source.html">thread.h</a>&quot;</code><br/>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Include afhankelijkheidsgraaf voor thread.cpp:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="thread_8cpp__incl.png" border="0" usemap="#read-only_2trunk_2source_2thread_8cpp" alt=""/></div>
<map name="read-only_2trunk_2source_2thread_8cpp" id="read-only_2trunk_2source_2thread_8cpp">
<area shape="rect" id="node7" href="thread_8h.html" title="thread.h" alt="" coords="187,83,261,112"/></map>
</div>

<p><a href="thread_8cpp_source.html">Ga naar de broncode van dit bestand.</a></p>
<h2><a name="func-members"></a>
Functies</h2>
<ul>
<li>void * <a class="el" href="thread_8cpp.html#af49f7d3d7fb40559930dce6c487247ad">thread_catch</a> (void *arg)
<li>int <a class="el" href="thread_8cpp.html#a2fa7d525ff3fefb8266255563ae8896b">mutex_lock</a> (pthread_mutex_t *__mutex)
<dl class="el"><dd class="mdescRight">Probeer de lock op object te krijgen.  <a href="#a2fa7d525ff3fefb8266255563ae8896b"></a><br/></dl><li>int <a class="el" href="thread_8cpp.html#ae9cd60f1fa40bbc5b3c312493f0ea89f">mutex_unlock</a> (pthread_mutex_t *__mutex)
</ul>
<hr/><h2>Documentatie van functies</h2>
<a class="anchor" id="a2fa7d525ff3fefb8266255563ae8896b"></a><!-- doxytag: member="thread.cpp::mutex_lock" ref="a2fa7d525ff3fefb8266255563ae8896b" args="(pthread_mutex_t *__mutex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int mutex_lock </td>
          <td>(</td>
          <td class="paramtype">pthread_mutex_t *&nbsp;</td>
          <td class="paramname"> <em>__mutex</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Probeer de lock op object te krijgen. </p>
<p>print foutmelding als het niet gaat </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>__mutex</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>De definitie bevindt zich op regel <a class="el" href="thread_8cpp_source.html#l00067">67</a> in het bestand <a class="el" href="thread_8cpp_source.html">thread.cpp</a>.</p>

<p>Wordt aangeroepen door <a class="el" href="moving_object_8cpp_source.html#l00057">MovingObject::getWp()</a>, <a class="el" href="moving_object_8cpp_source.html#l00099">MovingObject::getWpGoal()</a>, <a class="el" href="moving_object_8cpp_source.html#l00075">MovingObject::getWpPrev()</a>, <a class="el" href="moving_object_8cpp_source.html#l00045">MovingObject::setWp()</a> en <a class="el" href="moving_object_8cpp_source.html#l00089">MovingObject::setWpGoal()</a>.</p>

<p><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Hier is de caller graaf voor deze functie:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="thread_8cpp_a2fa7d525ff3fefb8266255563ae8896b_icgraph.png" border="0" usemap="#thread_8cpp_a2fa7d525ff3fefb8266255563ae8896b_icgraph" alt=""/></div>
<map name="thread_8cpp_a2fa7d525ff3fefb8266255563ae8896b_icgraph" id="thread_8cpp_a2fa7d525ff3fefb8266255563ae8896b_icgraph">
<area shape="rect" id="node3" href="class_moving_object.html#a51fd06046cbdff9cd1100b80e5b7e951" title="MovingObject::getWp" alt="" coords="165,59,320,88"/><area shape="rect" id="node17" href="class_moving_object.html#a6928b4124addab86f23e5a936ee641aa" title="MovingObject::getWpGoal" alt="" coords="151,219,335,248"/><area shape="rect" id="node19" href="class_moving_object.html#a1eb2f2d58594bd1ed53928d6cbfcdded" title="Get vorige waypoint." alt="" coords="151,112,335,141"/><area shape="rect" id="node23" href="class_moving_object.html#ad6a22767725a14888c45af6db99353a4" title="MovingObject::setWp" alt="" coords="165,165,320,195"/><area shape="rect" id="node30" href="class_moving_object.html#afef2937b5fc462e83804628e94b17179" title="MovingObject::setWpGoal" alt="" coords="151,272,335,301"/><area shape="rect" id="node5" href="class_strategie.html#a2950616c75da0213603c6cb172390240" title="Strategie::doeTest" alt="" coords="431,5,569,35"/><area shape="rect" id="node7" href="class_moving_object.html#a03e69eb416f7ba6a15fca179fd404905" title="Bereken snijpunt van dit object en een ander." alt="" coords="385,112,615,141"/><area shape="rect" id="node9" href="class_moving_object.html#a6e7fed1c00f986d7f8a87545f43ba3fa" title="MovingObject::getWpNext" alt="" coords="407,59,593,88"/><area shape="rect" id="node11" href="moving_object_test_01_o_l_d_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main" alt="" coords="739,137,792,167"/><area shape="rect" id="node13" href="class_strategie.html#a084d72e389b5961bb991f3c69cab09e3" title="Probeer de bal te onderscheppen." alt="" coords="673,59,857,88"/><area shape="rect" id="node15" href="class_strategie.html#a831db3772f226db97003c4325ea6d732" title="Rij recht naar de bal en vang hem." alt="" coords="915,59,1101,88"/><area shape="rect" id="node25" href="class_moving_object.html#aa1aa21fceb845d374d19ddcaf0f3f691" title="Zet alles op 0." alt="" coords="433,216,567,245"/><area shape="rect" id="node27" href="class_moving_object.html#a72319e0ab09942537c73a26faa435633" title="MovingObject::MovingObject" alt="" coords="664,216,867,245"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae9cd60f1fa40bbc5b3c312493f0ea89f"></a><!-- doxytag: member="thread.cpp::mutex_unlock" ref="ae9cd60f1fa40bbc5b3c312493f0ea89f" args="(pthread_mutex_t *__mutex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int mutex_unlock </td>
          <td>(</td>
          <td class="paramtype">pthread_mutex_t *&nbsp;</td>
          <td class="paramname"> <em>__mutex</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="thread_8cpp_source.html#l00079">79</a> in het bestand <a class="el" href="thread_8cpp_source.html">thread.cpp</a>.</p>

<p>Wordt aangeroepen door <a class="el" href="moving_object_8cpp_source.html#l00057">MovingObject::getWp()</a>, <a class="el" href="moving_object_8cpp_source.html#l00099">MovingObject::getWpGoal()</a>, <a class="el" href="moving_object_8cpp_source.html#l00075">MovingObject::getWpPrev()</a>, <a class="el" href="moving_object_8cpp_source.html#l00045">MovingObject::setWp()</a> en <a class="el" href="moving_object_8cpp_source.html#l00089">MovingObject::setWpGoal()</a>.</p>

<p><div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="closed.png"/> Hier is de caller graaf voor deze functie:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="thread_8cpp_ae9cd60f1fa40bbc5b3c312493f0ea89f_icgraph.png" border="0" usemap="#thread_8cpp_ae9cd60f1fa40bbc5b3c312493f0ea89f_icgraph" alt=""/></div>
<map name="thread_8cpp_ae9cd60f1fa40bbc5b3c312493f0ea89f_icgraph" id="thread_8cpp_ae9cd60f1fa40bbc5b3c312493f0ea89f_icgraph">
<area shape="rect" id="node3" href="class_moving_object.html#a51fd06046cbdff9cd1100b80e5b7e951" title="MovingObject::getWp" alt="" coords="181,59,336,88"/><area shape="rect" id="node17" href="class_moving_object.html#a6928b4124addab86f23e5a936ee641aa" title="MovingObject::getWpGoal" alt="" coords="167,219,351,248"/><area shape="rect" id="node19" href="class_moving_object.html#a1eb2f2d58594bd1ed53928d6cbfcdded" title="Get vorige waypoint." alt="" coords="167,112,351,141"/><area shape="rect" id="node23" href="class_moving_object.html#ad6a22767725a14888c45af6db99353a4" title="MovingObject::setWp" alt="" coords="181,165,336,195"/><area shape="rect" id="node30" href="class_moving_object.html#afef2937b5fc462e83804628e94b17179" title="MovingObject::setWpGoal" alt="" coords="167,272,351,301"/><area shape="rect" id="node5" href="class_strategie.html#a2950616c75da0213603c6cb172390240" title="Strategie::doeTest" alt="" coords="447,5,585,35"/><area shape="rect" id="node7" href="class_moving_object.html#a03e69eb416f7ba6a15fca179fd404905" title="Bereken snijpunt van dit object en een ander." alt="" coords="401,112,631,141"/><area shape="rect" id="node9" href="class_moving_object.html#a6e7fed1c00f986d7f8a87545f43ba3fa" title="MovingObject::getWpNext" alt="" coords="423,59,609,88"/><area shape="rect" id="node11" href="moving_object_test_01_o_l_d_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title="main" alt="" coords="755,137,808,167"/><area shape="rect" id="node13" href="class_strategie.html#a084d72e389b5961bb991f3c69cab09e3" title="Probeer de bal te onderscheppen." alt="" coords="689,59,873,88"/><area shape="rect" id="node15" href="class_strategie.html#a831db3772f226db97003c4325ea6d732" title="Rij recht naar de bal en vang hem." alt="" coords="931,59,1117,88"/><area shape="rect" id="node25" href="class_moving_object.html#aa1aa21fceb845d374d19ddcaf0f3f691" title="Zet alles op 0." alt="" coords="449,216,583,245"/><area shape="rect" id="node27" href="class_moving_object.html#a72319e0ab09942537c73a26faa435633" title="MovingObject::MovingObject" alt="" coords="680,216,883,245"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af49f7d3d7fb40559930dce6c487247ad"></a><!-- doxytag: member="thread.cpp::thread_catch" ref="af49f7d3d7fb40559930dce6c487247ad" args="(void *arg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* thread_catch </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>arg</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="thread_8cpp_source.html#l00019">19</a> in het bestand <a class="el" href="thread_8cpp_source.html">thread.cpp</a>.</p>

<p>Gebruikt <a class="el" href="thread_8cpp_source.html#l00047">Thread::execute()</a>.</p>

<p>Wordt aangeroepen door <a class="el" href="thread_8cpp_source.html#l00035">Thread::start()</a>.</p>

<p><div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="closed.png"/> Hier is de call graaf voor deze functie:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_cgraph.png" border="0" usemap="#thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_cgraph" alt=""/></div>
<map name="thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_cgraph" id="thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_cgraph">
<area shape="rect" id="node3" href="class_thread.html#afbb442f2fb941af397f840d6f9ef55a2" title="Thread::execute();." alt="" coords="160,5,285,35"/></map>
</div>
</p>

<p><div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="closed.png"/> Hier is de caller graaf voor deze functie:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_icgraph.png" border="0" usemap="#thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_icgraph" alt=""/></div>
<map name="thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_icgraph" id="thread_8cpp_af49f7d3d7fb40559930dce6c487247ad_icgraph">
<area shape="rect" id="node3" href="class_thread.html#a1f53ee62bd30a7924186ef26150ce262" title="Thread::start();." alt="" coords="160,59,264,88"/><area shape="rect" id="node5" href="class_besturing.html#a5a5a117fc659778bfe47e2fd63e08c42" title="Besturing::Besturing" alt="" coords="312,5,464,35"/><area shape="rect" id="node7" href="infrarood_test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="main" alt="" coords="361,59,415,88"/><area shape="rect" id="node9" href="class_strategie.html#a91976dec8a210e69c4e49f2634cb005d" title="Strategie::Strategie" alt="" coords="315,112,461,141"/></map>
</div>
</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Gegenereerd op Do 19 Mei 2011 10:15:30 voor Robocup-denayer-project-a door&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
